package cn.leon.content.service;

import cn.leon.common.pojo.EasyUITreeNode;
import cn.leon.common.pojo.TaotaoResult;

import java.util.List;

public interface ContentCategoryService {
    List<EasyUITreeNode> getContentCategory(long parentId);
    //新增
    TaotaoResult addContentCategory(long parentId,String name);
    //修改
    TaotaoResult updateContentCategory(long id, String name);
    //删除
    TaotaoResult deleteContentCategory(long id);
}
